package com.wzx.data.vo;

import com.wzx.basics.baseVo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wzx
 * @since 2023/03/20
 */
@ApiModel("课程对象")
@Data
public class CourseVo extends PageVo {

    @ApiModelProperty(value = "课程ID")
    private String id;

    @ApiModelProperty(value = "课程讲师ID")
    private String teacherId;

    @ApiModelProperty(value = "课程学科ID")
    private String subjectId;

    @ApiModelProperty(value = "课程学科父级ID")
    private String subjectParentId;

    @ApiModelProperty(value = "课程标题")
    private String title;


    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "课程简介")
    private String description;

    @ApiModelProperty(value = "一级分类标题")
    private String subjectParentTitle;

    @ApiModelProperty(value = "二级分类标题")
    private String subjectTitle;

    @ApiModelProperty(value = "讲师姓名")
    private String teacherName;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "课程状态")
    private String status;

    @ApiModelProperty(value = "课程发布时间")
    private String publishTime;

    @ApiModelProperty(value = "课程ID")
    private String courseId;
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "总时长")
    private Float durationSum;

    @ApiModelProperty(value = "观看进度总时长")
    private Float progressSum;

    @ApiModelProperty(value = "观看进度")
    private Integer progress;
}
